Masteriyo\Abstracts\Order B

Total Complexity 97
Dependencies 6
Dependents 2
Total lines 1,013
Lines of code 340
Logical lines of code 162
Comment lines 543
Methods 47
Properties 6

Methods 47

Method Rating Maintainability Complexity Lines of code
save_items()
S
52 7 25
get_item()
S
56 7 18
set_status()
S
57 7 16
get_item_subtotal()
S
60 5 12
save()
S
55 4 20
add_item()
S
58 4 16
get_items()
S
59 4 14
get_qty_refunded_for_item()
S
62 4 11
set_parent_id()
S
68 4 6
remove_order_items()
S
62 3 12
get_line_subtotal()
S
65 3 8
has_status()
S
76 3 3
get_item_count()
S
65 3 8
remove_item()
S
64 3 9
type_to_group()
S
60 2 13
get_values_for_total()
S
61 2 13
get_items_key()
S
70 2 6
get_data()
S
63 1 12
__construct()
S
76 1 4
get_cart_total_for_order()
S
71 1 7
calculate_totals()
S
65 1 9
get_valid_statuses()
S
80 1 3
get_refunds()
S
65 1 10
get_formatted_line_subtotal()
S
73 1 4
get_cart_subtotal_for_order()
S
71 1 7
set_prices_include_tax()
S
79 1 3
set_total()
S
80 1 3
get_prices_include_tax()
S
79 1 3
get_children()
S
82 1 3
get_order_items()
S
79 1 3
get_type()
S
82 1 3
get_rest_formatted_total()
S
66 1 8
get_parent_id()
S
79 1 3
get_status()
S
79 1 3
get_currency()
S
79 1 3
get_version()
S
79 1 3
get_date_created()
S
79 1 3
set_date_modified()
S
80 1 3
get_date_modified()
S
79 1 3
get_total()
S
79 1 3
get_total_tax()
S
82 1 3
get_total_discount()
S
82 1 3
set_currency()
S
80 1 3
set_version()
S
80 1 3
get_permalink()
S
80 1 3
set_date_created()
S
80 1 3
add_order_item_totals_total_row()
S
70 1 6